<?php slot('title', "精彩照片 - ") ?>
<?php slot('area', "{$area}赛区") ?>
<?php use_javascript('photos_scroll') ?>
<!--Photos Foucs-->
<div class="photos_foucs">
  <div id="imageFlow">
    <div class="top"></div>
    <div class="bank">
	<?php foreach ($slide as $photo): ?>
         <a rel="<?php printf(sfConfig::get('app_path_photo_photo'), $photo->getPhoto()) ?>" title="<?php echo $photo->getTitle() ?>" href="<?php echo url_for('@photo_show?id=' . $photo->getId()) ?>"><?php echo $photo->getDescription() ?></a> 
    <?php endforeach ?>
    </div>
    <div class="text">
      <div class="title">载入中</div>
      <div class="legend">请稍等一会儿...</div>
    </div>
    <div class="scrollbar"> 
        <img class="track" src="/images/sb.gif" /> 
        <img class="arrow-left" src="/images/sl.gif" /> 
        <img class="arrow-right" src="/images/sr.gif" /> 
        <img class="bar" src="/images/sc.gif" /> 
    </div>
  </div>
</div>
<!--Photos List-->
<div class="photos_main">
   <div class="photos_top"><span class="ft8"><span class="ft9">精彩照片</span></span></div>
   <div class="photos_center">
      <?php if (count($thefinal)): ?>
      <ul>
         <p><img src="/images/js_btn.jpg" width="202" height="107" alt="总决赛" /><span></span></p>
         <?php foreach ($thefinal as $photo): ?>
			<li><a href="<?php echo url_for('@photo_show?id=' . $photo->getId()) ?>"><img src="<?php printf(sfConfig::get('app_path_photo_thumb'), $photo->getThumb()) ?>" width="160" height="107" alt="总决赛" /></a><span><a href="<?php echo url_for('@photo_show?id=' . $photo->getId()) ?>"><?php echo $photo->getTitle() ?></a></span></li>
		 <?php endforeach ?>
      </ul>
	  <?php endif ?>
      <div class="clears"></div>

      <?php if (count($semifinal)): ?>
      <ul>
         <p><img src="/images/bjs_btn.jpg" width="202" height="107" alt="总决赛" /><span></span></p>
		 <?php foreach ($semifinal as $photo): ?>
			<li><a href="<?php echo url_for('@photo_show?id=' . $photo->getId()) ?>"><img src="<?php printf(sfConfig::get('app_path_photo_thumb'), $photo->getThumb()) ?>" width="160" height="107" alt="总决赛" /></a><span><a href="<?php echo url_for('@photo_show?id=' . $photo->getId()) ?>"><?php echo $photo->getTitle() ?></a></span></li>
		 <?php endforeach ?>
      </ul>
	  <?php endif ?>
      <div class="clears"></div>

      <?php if (count($primary)): ?>     
      <ul>
         <p><img src="/images/cs_btn.jpg" width="202" height="107" alt="总决赛" /><span></span></p>
		 <?php foreach ($primary as $photo): ?>
			<li><a href="<?php echo url_for('@photo_show?id=' . $photo->getId()) ?>"><img src="<?php printf(sfConfig::get('app_path_photo_thumb'), $photo->getThumb()) ?>" width="160" height="107" alt="总决赛" /></a><span><a href="<?php echo url_for('@photo_show?id=' . $photo->getId()) ?>"><?php echo $photo->getTitle() ?></a></span></li>
		 <?php endforeach ?>
      </ul>
      <?php endif ?>
      <div class="clears"></div>
   </div>
   
   
   <div class="photos_bottom"><img src="/images/jiali_bottom.gif" /></div>
</div>


<div style="width:950px; height:40px; margin:0 auto;"></div>